package com.um.jdy.platform.user.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author 邓南辉
 * 日期 2023/2/6
 * 版权所有 广州优匠科技有限公司
 */
@Data
public class EditPasswordDTO {


    @ApiModelProperty(value = "旧密码", required = true, example = "123456")
    @NotNull
    private String oldPassword;


    @ApiModelProperty(value = "新密码", required = true, example = "123456")
    @NotNull
    private String newPassword;
}
